package com.jfok.server.logic;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Service;

import com.jfok.server.hibernate.system._MenuGroup;
import com.jfok.shared.module.ModuleFormOperateType;



@Service
public class _MenuGroupLogic extends BaseOperateLogic<_MenuGroup> {

	@SuppressWarnings("unused")
	private static final Log log = LogFactory.getLog(_MenuGroupLogic.class);

	@Override
	public boolean beforeUpdate(ModuleFormOperateType type, _MenuGroup updatedObject,
			_MenuGroup oldObject, Map<String, String> errorMessage, HttpServletRequest request) {
		errorMessage.put("tf_title", "title 错误了");
		return true;
	}

}
